<HTML>
<BODY BGCOLOR="GREY">
<FORM ACTION="jspArray.jsp">
<table>
<tr>
<td>First Name:</td><td><INPUT type="text" name="txt1"></td>
</tr>
<tr>
<td>Last Name:</td><td><INPUT type="text" name="txt1"></td>
</tr>
<tr>
<td>School:</td><td><INPUT type="text" name="txt1"></td>
</tr>
<tr>
<td>Address:</td><td><INPUT type="text" name="txt1"></td>
</tr>
<tr>
<td>Number:</td><td><INPUT type="text" name="txt1"></td>
</tr>
</table>
<INPUT type="submit" value="Submit">
</FORM>
<%
	String[] values = request.getParameterValues("txt1");

	if (values != null && values.length != 0) 
    {
%>
    <%
       for (int i = 0; i < values.length; i++)
       {
          out.println("<table><tr><td>" + values[i] + "</td></tr></table>");
       }
    %>
 <% }
 %>
</BODY>
</HTML>